package com.LFLWZ.serivceImpl;

import com.LFLWZ.beans.POJO.Worksshow;
import com.LFLWZ.mapper.worksMapper;
import com.LFLWZ.service.worksService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;


@Service
public class worksServiceImpl implements worksService {

    @Autowired
    private worksMapper worksMapper;

    @Override
    public List<Worksshow> selCountTime(Integer sprcial,Integer uid) {
        return worksMapper.selCountTime(sprcial,uid);
    }

    @Override
    public int addWorks(Worksshow WorksinfoVo) {

        return worksMapper.addWorks(WorksinfoVo);
    }

    @Override
    public List<Worksshow> selWorks(Worksshow worksshow) {
        return worksMapper.selWorks(worksshow);
    }

    @Override
    public Worksshow sqlById(Integer id) {
        return worksMapper.sqlById(id);
    }

    @Override
    public int update(Worksshow worksshow) {
        return worksMapper.update(worksshow);
    }

    @Override
    public int deleteById(Integer id) {
        return worksMapper.deleteById(id);
    }
}
